home *** CD-ROM | disk | FTP | other *** search
Java Source | 2000-06-23 | 1.1 KB | 35 lines |
- /**
- * Apple Worldwide Developer Technical Support
- *
- * Sample showing how to send and receive AppleEvents using JDirect 2.
- *
- * File: TimerCallback.java
- *
- * This interface should be implemented by classes who want a callback from the Timer class.
- * @see Timer
- *
- * @author Levi Brown
- * @author Apple Computer, Inc.
- *
- * Copyright ©1999 Apple Computer, Inc.
- * All rights reserved.
- *
- * @version 1.0
- * 4/15/1999 Shipped as 'AppleEvent Send and Receive' sample.
- *
- * You may incorporate this sample code into your applications without
- * restriction, though the sample code has been provided "AS IS" and the
- * responsibility for its operation is 100% yours. However, what you are
- * not permitted to do is to redistribute the source as "Apple Sample
- * Code" after having made changes. If you're going to re-distribute the
- * source, we require that you make it clear in the source that the code
- * was descended from Apple Sample Code, but that you've made changes.
- */
- public interface TimerCallback
- {
- /**
- * This function gets called by the timer when the elapsed time reaches the sleep time.
- */
- public void timeIsUp();
- }
-